4cd34a487ffe238e88f18a8b81fd943f1fbb64f2,gradoop-flink/src/main/java/org/gradoop/flink/io/impl/tlf/functions/TLFFileFormat.java,TLFFileFormat,format,#GraphTransaction#,59

Before Change



    // VERTICES
    int vertexId = 0;
    for (Vertex vertex : graphTransaction.getVertices()) {
      vertexIdMap.put(vertex.getId(), vertexId);
      lines.add(TLFVertex.SYMBOL + " " + vertexId + " " + vertex.getLabel());
      vertexId++;
    }

After Change


    graphId++;

    // VERTICES
    writeVertices(builder, graphTransaction.getVertices());

    // EDGES
    writeEdges(builder, graphTransaction.getEdges());